package io.renren.modules.base.service;



import io.renren.modules.base.entity.BaseTaskInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-10-05 17:49:18
 */
public interface BaseTaskInfoService {
	
	BaseTaskInfoEntity queryObject(String id);
	
	List<BaseTaskInfoEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(BaseTaskInfoEntity baseTaskInfo);
	
	void update(BaseTaskInfoEntity baseTaskInfo);

	void updateBase(BaseTaskInfoEntity baseTaskInfo);

	void updateTask(BaseTaskInfoEntity baseTaskInfo);

	void delete(String id);
	
	void deleteBatch(String[] ids);

	List<BaseTaskInfoEntity> allList();

	List queryTask(String woekitmeId);

	List queryTemplateTask(String templateId);

	void deleteTask(String taskId,String templateId,List<BaseTaskInfoEntity> baseTaskInfoEntities);

	void templateAddTask(List<BaseTaskInfoEntity> baseTaskInfoEntities);

	void updateOrder(List<BaseTaskInfoEntity> baseTaskInfoEntities);

	BaseTaskInfoEntity queryObjectInfo(String id);
}
